package com.baomidou.springwind.pojo;

/**
 * 路径信息
 *
 * @Author demo
 * @Date 2017-8-22
 */
public class RouteInfo {

    public final Long id;
    public final Long distance;
    public final Long duration;

    public RouteInfo(Long id, Long distance, Long duration) {
        this.id = id;
        this.distance = distance;
        this.duration = duration;
    }

    @Override
    public String toString() {
        return "RouteInfo{" +
                "id=" + id +
                ", distance=" + distance +
                ", duration=" + duration +
                '}';
    }
}
